/*
 * @Descripttion: 
 * @version: 
 * @Author: turingchang
 * @Date: 2020-08-22 16:18:21
 * @LastEditors: turingchang
 * @LastEditTime: 2020-08-28 17:09:03
 */



const { Controller } = require('egg');

class BaseController extends Controller {  
  
  //定义属性
  get postdata() {
     return this.ctx.request.body;
  }
  get querydata() {
    return this.ctx.query;
 }

}
module.exports = BaseController;